﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Aliphant.Script.Models
{
    internal class Interval
    {
        public Action action;
        public int timeout;
        public DateTime lastTime;

        public Interval(Action action, int timeout)
        {
            this.action = action;
            this.timeout = timeout;
            lastTime = DateTime.Now;
        }
    }
}
